package com.IntelligentCommunity.community.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

/**
 * @author 美国五星上将麦克阿瑟
 */
@Data
public class Tree {

    private Long id;

    private String label;

    private Long parentId;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<Tree> children;

}
